import './App.css';
import Login from './pages/Login';
import UserCenter from './pages/UserCenter';
import {Route, Switch} from 'react-router-dom';

function App() {
  return (
    <Switch>
      <Route path="/login" component={Login} />
      <Route path="/usercenter" component={UserCenter} />
    </Switch>
  );
}

export default App;
